<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Mosaddek">
    <meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <link rel="shortcut icon" href="img/favicon.html">

    <title>护工</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet"/>
    <!-- Custom styles for this template -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet"/>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>

    <![endif]-->
</head>

<body>

<section id="container" class="">
    <!--header start-->
    <div id="header">

    </div>
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            <!--state overview start-->
            <div class="row state-overview">
                <div class="col-lg-3 col-sm-6" v-for="oldMan in oldManList" >
                    <section class="panel" @click="setOldManId(oldMan.id)">
                        <div class="symbol terques">
                            <i class="icon-user"></i>
                        </div>
                        <div class="value">
                            <h1>{{oldMan.username}}</h1>
                            <p v-if="oldMan.sex==1">先生</p>
                            <p v-else>女士</p>
                        </div>
                    </section>
                </div>
                <div class="col-lg-6">


                </div>

            </div>
            <div class="row">

                <div class="col-lg-7">
                    <!--features carousel start-->
                    <section class="panel">
                        <div class="bio-graph-heading">
                            Aliquam ac magna metus. Nam sed arcu non tellus fringilla fringilla ut vel ispum. Aliquam ac
                            magna metus.
                        </div>
                        <div class="panel-body bio-graph-info">
                            <h1>老人基本信息：</h1>
                            <div class="row">
                                <div class="bio-row">
                                    <p><span>姓名 </span>: {{oldMan.username}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>床位号</span>: {{oldMan.bedid}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>年龄 </span>: 66</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>地址 </span>: {{oldMan.address}}</p>
                                </div>
                                <div class="bio-row" v-if="oldMan.sex==0">
                                    <p><span>性别 </span>: 女</p>
                                </div>
                                <div class="bio-row" v-else>
                                    <p><span>性别 </span>: 男</p>
                                </div>


                                <div class="bio-row">
                                    <p><span>身份证号 </span>:{{oldMan.identitycode}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>卡号 </span>: 11111111</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>合同编号 </span>: {{oldMan.contractno}}</p>
                                </div>
                            </div>
                        </div>
                        <div class="panel-body bio-graph-info">
                            <h1>家属信息：</h1>
                            <div class="row" v-for="kinsfolk in kinsfolkList">
                                <div class="bio-row">
                                    <p><span>姓名 </span>: {{kinsfolk.name}}</p>
                                </div>
                                <div class="bio-row">
                                    <p><span>电话 </span>: {{kinsfolk.phone}}</p>
                                </div>
                            </div>
                        </div>
                    </section>
                    <!--features carousel end-->
                </div>
                <div class="col-lg-5">
                    <!--timeline start-->
                    <section class="panel">
                        <div class="panel-body profile-activity">
                            <h4 style="text-align: center;">病例信息</h4>
                            <div v-for="(ca,index) in caseList">
                                <div class="activity blue" v-if="index%2==0">
                                  <span>
                                      <i class="icon-bullhorn"></i>
                                  </span>
                                    <div class="activity-desk">
                                        <div class="panel">
                                            <div class="panel-body">
                                                <div class="arrow"></div>
                                                <i class=" icon-time"></i>
                                                <h4 style="width: 150px;">{{ca.date}}</h4>
                                                <p>{{ca.casedetails}}</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="activity alt blue" v-else>
                                  <span>
                                      <i class="icon-bullhorn"></i>
                                  </span>
                                    <div class="activity-desk">
                                        <div class="panel">
                                            <div class="panel-body">
                                                <div class="arrow"></div>
                                                <i class=" icon-time"></i>
                                                <h4 style="width: 150px;">{{ca.date}}</h4>
                                                <p>{{ca.casedetails}}</p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="float: right">
                                <button class="btn btn-primary" @click="caseAdd()">
                                    增加病例
                                </button>
                            </div>

                        </div>
                    </section><!--timeline end-->
                </div>
            </div>


            </div>
            <!--state overview end-->
        </section>
    </section>
    <!--main content end-->
</section>

<!-- js placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.scrollTo.min.js"></script>
<script src="js/jquery.nicescroll.js" type="text/javascript"></script>


<!--common script for all pages-->
<script src="js/common-scripts.js"></script>


<script src="js/vue.js"></script>
<script src="js/axios.js"></script>
<script src="localjs/paramedics-userinfo.js"></script>

</body>
</html>
